# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=biblatex
pkgver=3.18
pkgrel=0
pkgdesc="Sophisticated Bibliographies in LaTeX"
url="https://www.ctan.org/pkg/biblatex"
# s390x and riscv64 blocked by texlive-luatex
arch="noarch !x86 !ppc64le !s390x !riscv64"
license="LPPL-1.3"
depends="texlive-luatex"
makedepends="bash perl"
source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biblatex/archive/v$pkgver.tar.gz"
replaces="texmf-dist-bibtexextra"

package() {
	mkdir -p "$pkgdir"/usr/share/texmf-dist
	obuild/build.sh install $pkgver "$pkgdir"/usr/share/texmf-dist/
}

sha512sums="
76c97e44a66095e8b1598a06bdd1d9776f3ea76059792f3a708639d4bad46e09efa1249dfff0d7acbeb5bd80d9978320d99bcf1511c5d00f27ba19262da9c900  biblatex-3.18.tar.gz
"
